﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using PH.Model.Systems;
using PH.Data.Systems;
namespace PH.Logic.Systems
{
    public class NoticeLogic
    {
        public static NoticeModel GetModel(int id)
        {
            return NoticeCommand.GetModel(id);
        }

        public static NoticeCollection Gets(NoticeQuery sea)
        {
            return NoticeCommand.Gets(sea);
        }

        public static void CreateNew(NoticeModel model)
        {
            NoticeCommand.CreateNew(model);
        }

        public static void Update(NoticeModel model)
        {
           NoticeCommand.Update(model);
        }

        public static void Delete(int id)
        {
            NoticeCommand.Delete(id);
        }
    }
}
